package com.xiaobao.campusLostFoundAfter.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

//  浏览记录
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class BrowsingHistory {
    // 浏览记录id
    private Integer BhId;
    // 用户id
    private String UserId;
    // 物品id
    private Integer ItemId;
    // 物品found or lost
    private String ItemType;
    // 浏览时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date CreateTime;
}
